﻿<%@ Page Title="【个人中心】- 红包明细" Language="C#" MasterPageFile="~/APP_Master/MasterPage_Personal.master"
    AutoEventWireup="true" CodeFile="per_exchange_detailed.aspx.cs" Inherits="per_exchange_detailed" %>
    
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<!--Right-->
<div class="per_right_con">
<!--exNav-->
<ul class="per_ex_nav">
    <li><a href="per_exchange_detailed.aspx?p=5" class="cur">通用金币</a></li>
    <li><a href="per_exchange_huodong.aspx?p=5">活动金币</a><span class="per_n"><%if (userOrder2 != null)
                                                                          {%><%=userOrder2.Rows.Count%><%}
                                                                          else
                                                                          { %>0<%} %></span></li> 
    <li><a href="per_exchange_guoqi.aspx?p=5">已用完 | 过期</a></li>
</ul>
<!--exNav-->
    <div class="per_pre_record_t">
        <b>通用金币</b>
        <script type="text/javascript" src="../js/jquery-1.7.min.js"></script>      
            <dl class="select03">
		        <asp:DropDownList ID="timesl" runat="server" AutoPostBack="true" 
                    onselectedindexchanged="timesl_SelectedIndexChanged"  >
             <asp:ListItem value="5">全部</asp:ListItem>
             <asp:ListItem value="0">今天</asp:ListItem>
                                        <asp:ListItem value="1">近一周</asp:ListItem>
                                        <asp:ListItem value="2">近一个月</asp:ListItem>
                                        <asp:ListItem value="3">近三个月</asp:ListItem>
                                        <asp:ListItem value="4">近六个月</asp:ListItem> 
            </asp:DropDownList>  
	        </dl>
            <dl class="select03">
		        <asp:DropDownList ID="typesl" runat="server" AutoPostBack="true" 
                    onselectedindexchanged="typesl_SelectedIndexChanged"  >
             <asp:ListItem value="1">金币获得</asp:ListItem>
             <asp:ListItem value="2">金币消耗</asp:ListItem> 
            </asp:DropDownList> 
	        </dl>
            <div class="per_ex_title_font">
                金币派发：<span>180</span>元 金币消费：<span>120</span>元 撤单返款：<span>0</span>元
            </div>
    </div>
    <ul class="per_ex_title_ul">
        <li style="width:15%">时间</li>
        <li style="width:15%">交易类型</li>
        <li style="width:15%">收入</li>
        <li style="width:15%">支出</li> 
        <li style="width:40%">说明</li> 
    </ul>
    <%if (userOrder != null)
      {
          for (int i = 0; i < userOrder.Count; i++)
          { %>
    <ul class="per_integral_con_ul">
        <li style="width:15%"><%=userOrder[i].Addtime.ToString("yyyy-MM-dd")%></li>
       <%if (userOrder[i].Type == 2)
          { %> 
        <li style="width:15%">消耗积分</li><%}
          else
          {%>
        <li style="width:15%">获得积分</li>
        <%} %>
        <li style="width:15%"><b><%if (userOrder[i].Type == 1)
          { %> +<%=userOrder[i].GoldCount%>
        <%} %> &nbsp;</b></li>
        <li style="width:15%"><em>
        <%if (userOrder[i].Type == 2)
          { %> -<%=userOrder[i].GoldCount%>
        <%} %> &nbsp;
        </em></li> 
        <li style="width:40%"><%=userOrder[i].Content%></li> 
    </ul> 
    <%}
      }
      else
      { %>
      <ul class="per_integral_con_ul"> 
      
                  <div  style="text-align:center">暂无记录</div> 
      </ul> 
      <%} %>
     <div class="sabrosus">
               <webdiyer:aspnetpager SubmitButtonClass="buttons"  ID="AspNetPager1" 
                    runat="server" AlwaysShow="True" FirstPageText="首页"
                        NextPageText="下一页" PrevPageText="前一页" LastPageText="尾页" PageSize="8"  
                        OnPageChanged="AspNetPager1_PageChanged">
                    </webdiyer:aspnetpager>
           </div>
<div class="per_r_infor">
        <h3>通用金币明细-注意事项：</h3>
        <p>通用金币只能用于购彩消费，不能提款；</p>
        <p>购彩时系统将优先使用通用金币支付；</p>
        <p>如购彩订单2元，其中使用通用金币支付1元，则通用金币明细里，显示通用金币支出-1元；</p>
        <p>通用金币消费失败（撤单返款），会把金额直接返款到您的通用金币余额里；</p>
        <p>通用金币明细仅支持查询6个月的记录；</p>
    </div>
</div>
<!--Right-->
<div class="per_bg_bottom"></div>
</div>
<!--Content-->
</asp:Content>
